/******************************************************************************************
 
Made by www.Flashphoner.com, all rights reserved.
These sources can only be used for working with Flashphoner server.
If you want use this to create your own application (separate from Flashphoner server)
please contact support@flashphoner.com 

******************************************************************************************/

package com.flashphoner.api.data
{
	[Bindable]
	/**
	 * Class used to store information about connected user
	 **/
	public class ModelLocator
	{
		/**
		 * Login of user
		 */
		public var login:String = '';
		/**
		 * Password of user
		 **/
		public var pwd:String = null;
		/**
		 * Host of sip provider (example: sipnet.ru)
		 */
		public var sipProviderAddress:String;
		/**
		 * Port of sip provider (default - 5060)
		 **/
		public var sipProviderPort:String;
		/**
		 * Visible name of user
		 **/ 
		public var visibleName:String = "";
		/**
		 * Logged user on sip provider or no
		 */
		public var logged:Boolean = false;
		/**
		 * Mode of connection ("phone"/"click2call")
		 **/
		public var mode:String = "phone";
	}
}